<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			function fun1(){
			alert("即将跳转到攀枝花学院官网")
				window.location.href="http://www.pzhu.cn"
				}
				function fun2(){
					if(confirm("是否跳转到攀枝花学院官网"))
					{
					window.location.href="http://www.pzhu.cn"
					}
				}
				function fun3(){
					let ans="http://www.pzhu.cn"
					ans=promet("请输入网址：",ans)
						window.location.href=ans
					}
				
		</script>
	</head>
	<body>
		<button type="button" onclick="fun1()">提示</button>
		<button type="button" onclick="fun2()">确认</button>
		<button type="button" onclick="fun3()">自定义</button>
	</body>
</html>
